package eu.dominicum.ft.pd.boundary;

import eu.dominicum.ft.pd.Person;

import java.util.List;

/**
 * Boundary interface for the {@link eu.dominicum.ft.pd.Person} class.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
public interface PersonManagement {

    /**
     * Returns a list of {@link Person} objects ordered by name, namePrefix, nickname.
     *
     * @return List<Person>
     */
    List<Person> findAllPersons();

    /**
     * Return the {@link Person} object identified by the given ID.
     *
     * @param personId -
     * @return Person
     */
    Person findById(Long personId);
}
